﻿<%@ Page Language="C#" MasterPageFile="~/Design/MasterPage/MasterPage.master" AutoEventWireup="true" CodeFile="VolunteerSrhForm.aspx.cs" Inherits="App_Input_VolunteerSrhForm" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <table width="100%">
        <tr>
            <td>
                <table class="table_border_line">
                    <tr>
                        <td align="left" colspan="6">

                            <script language="javascript" type="text/javascript">
                                        (new TitleBar('SearchBar', ' 活动结果')).showBar();
                            </script>

                        </td>
                    </tr>
                </table>
            </td>
        </tr>
         <tr>
            <td>
             <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                        CssClass="GridView_table" BorderStyle="Solid" OnPageIndexChanging="GridView1_PageIndexChanging"
                         OnRowDataBound="GridView1_RowDataBound"
                        BorderWidth="3px"  >
                        <Columns>
                            <asp:BoundField HeaderText="项目编号"  >
                                <HeaderStyle Width="10%" CssClass="GridView_head_grayblue" />
                                <ItemStyle CssClass="GridView_item_left" />
                            </asp:BoundField>
                            <asp:BoundField HeaderText="项目主题"　DataField="ActionName">
                                <ItemStyle CssClass="GridView_item_center" />
                                <HeaderStyle Width="16%" CssClass="GridView_head_grayblue" />
                            </asp:BoundField>
                            <asp:BoundField HeaderText="负责人" DataField="EmployeeName">
                                <ItemStyle CssClass="GridView_item_center" />
                                <HeaderStyle Width="11%" CssClass="GridView_head_grayblue" />
                            </asp:BoundField>
                            
                            <asp:BoundField HeaderText="活动时间"　DataField="BespokeDate" DataFormatString="{0:yyyy/MM/dd}"
                                HtmlEncode="False">
                                <HeaderStyle Width="11%" CssClass="GridView_head_grayblue" />
                                <ItemStyle CssClass="GridView_item_left" />
                             </asp:BoundField>
                            <asp:BoundField HeaderText="服务地点" DataField="ActionAddress" >
                                <HeaderStyle Width="16%" CssClass="GridView_head_grayblue" />
                                <ItemStyle CssClass="GridView_item_center" />
                            </asp:BoundField>
                            <asp:BoundField HeaderText="服务对象"  DataField="ActionObject">
                                <HeaderStyle Width="16%" CssClass="GridView_head_grayblue" />
                                <ItemStyle CssClass="GridView_item_center" />
                            </asp:BoundField>   
                            
                             <asp:TemplateField HeaderText="活动信息">                                
                                    <ItemTemplate>
                                        <asp:LinkButton ID="step0" runat="server" CommandName="Step1" OnCommand="LinkButton_Command" Text="详细" ></asp:LinkButton>
                                        <asp:LinkButton ID="Step1" runat="server" CommandName="Step2" OnCommand="LinkButton_Command" Text="评估"  Visible="false"></asp:LinkButton>
                                        <asp:LinkButton ID="Step2" runat="server" CommandName="Step3" OnCommand="LinkButton_Command" Text="时间银行" ></asp:LinkButton>
                                      </ItemTemplate>      
                                    <ItemStyle CssClass="GridView_item_center" />
                                    <HeaderStyle CssClass="GridView_head_grayblue" />
                                </asp:TemplateField>
                                
                                
                            
                        </Columns>
                        <PagerSettings Mode="NumericFirstLast" />
                        <PagerStyle HorizontalAlign="Right" />
                    </asp:GridView>
            </td>
        </tr>
        <tr>
            <td align="center" style="height: 48px">
                <asp:Button ID="btn_New" runat="server" CssClass="button" OnClick="btn_New_Click"
                    Text="新 建" Width="74px" /></td>
        </tr>
    </table>
</asp:Content>